Total Complexity | 28 |
Dependencies | 6 |
Dependents | 0 |
Total lines | 231 |
Lines of code | 109 |
Logical lines of code | 57 |
Comment lines | 86 |
Methods | 9 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
extract_post_data() | 46 | 10 | 37 | |
get_data() | 49 | 8 | 31 | |
register_endpoint() | 51 | 3 | 27 | |
generate_post_data() | 69 | 2 | 7 | |
run() | 100 | 1 | 0 | |
generate_data() | 100 | 1 | 0 | |
get_items() | 100 | 1 | 0 | |
permission_callback() | 81 | 1 | 3 | |
__construct() | 77 | 1 | 4 |